/**
 * 
 */
package com.wkr.test;
import java.util.Scanner;
/**
	*Copy Right Information		:
	*Project					:
	*JDK version used			:jdk1.8.0
	*Author						:WuKangrong
	*Version					:
	*Description				:
	*Date						:
	**/
public class ShareApple {

	/**
		*Description:主函数，程序入口 
		*@param  	:args
		*@return 	:void
		*/
	public static void main(String[] args) {
		
		int apple_Num = 0;
		int stu_Num = -1;
		double stu_Apple = 0.0;
		
		System.out.print("请输入苹果数量：");
		Scanner input = new Scanner(System.in);
		apple_Num = input.nextInt();
		System.out.print("请输入学生数量：");
		stu_Num = input.nextInt();
		
		stu_Apple = (double)apple_Num / stu_Num;
		System.out.println("每个学生分到的苹果数量为：" + stu_Apple);
				
		
	}
	/**   
	 * @Title: draw   
	 * @Description: TODO(这里用一句话描述这个方法的作用)   
	 * @param:       
	 * @return: void      
	 * @throws   
	 */
	void draw()
	{
		int a;
	}

}
